home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-12-24 | 6.1 KB | 224 lines | [TEXT/KAHL] |
- /*********************************************************
- "protos"
-
- by John A. Love, III [ Washington Apple Pi Users' Group]
-
- using Symantec's "THINK C", v 5.00
- *********************************************************/
-
-
- #ifndef __GLOBALS__
- #include "globals.h"
- #endif
-
- #ifndef __APPLEEVENTS__
- #include "AppleEvents.h"
- #endif
-
- #include "about.h"
-
-
-
-
- /* ==============
- "interface.c":
- ============== */
- Handle NewClearHandle (Size byteCount);
- Handle NewSysHandle (Size byteCount);
- Handle NewSysClearHandle (Size byteCount);
- Ptr NewClearPtr (Size byteCount);
- Ptr NewSysPtr (Size byteCount);
- Ptr NewSysClearPtr (Size byteCount);
-
-
- /* =========
- "idle.c":
- ========= */
- void DoPeriodic (void);
- void PeriodicMenus (void);
- void PeriodicWindows (void);
- Boolean PeriodicHelp (void);
-
-
- /* =========
- "cursor.c":
- ========= */
- void HandleCursor (void);
- void InstallVBLTask (short rsrcID);
- void RemoveVBLTask (void);
-
-
- /* =========
- "misc.c":
- ========= */
- void InitManagers (void);
- Boolean TestForColor (short *pixelDepth);
- Boolean System7isUp (void);
- void System7Braggart (void);
- void LocalGlobal (Rect *r);
- void GlobalLocal (Rect *r);
- short Max (short a, short b);
- short Min (short a, short b);
- double xPOWERy (double x, double y);
- Boolean TrapAvailable (short theTrap);
- Boolean WNEisImplemented (void);
- void PlaySound (char *mySound);
- long GetStripAddressMask(void);
- Ptr QuickStrip (long *myPtr);
- Boolean isPString (char *myString);
- void pStrCat (Str255 s1, Str255 s2, Str255 s3);
- void pStrCopy (Str255 s1, Str255 s2);
- void DoSpiffyIris (void);
- void CenterRects (Rect *srcRect, Rect *withinRect);
- Boolean cmpAlpha (char in, char with);
- char nextAlpha (char start);
-
-
- /* ==========
- "event.c":
- ========== */
- void MainEventLoop (void);
- void HandleMouse (EventRecord *event, WindowPtr window, short part);
- void HandleKey (EventRecord *event);
- void HandleUpdate (WindowPtr window);
- void HandleActivate (WindowPtr window);
- void DoActivate (WindowPtr window);
- void DoDeactivate (WindowPtr window);
- void DoHighLevelEvent (EventRecord *event);
-
-
- /* ===========
- "scroll.c":
- =========== */
- short GetControlType (ControlHandle ctl);
- ControlHandle GetDefaultButton (DialogPtr dlg);
- void FrameDefaultButton (DialogPtr dlg);
- void SimulateClick (ControlHandle ctl);
- void Scroll (ControlHandle ctl, short part, Point Pt);
- void SetMaxCtls (WindowPtr windPtr);
- void SetCtlsToMin (WindowPtr windPtr);
- Boolean DrawMyControl (ControlHandle ctl);
- ControlHandle ScrollHoriz (WindowPtr wp);
- ControlHandle ScrollVert (WindowPtr wp);
- void ScrollShow (WindowPtr wp);
- void ScrollHide (WindowPtr wp);
- void InvalidScroll (WindowPtr wp);
- void ValidScroll (WindowPtr wp);
- void ScrollResize (WindowPtr wp);
- void ScrollText (Str255 myText, Rect *box);
-
-
- /* ================
- "AppleEvents.c":
- ================ */
- Boolean AppleEventsActive (void);
- Boolean PPCToolboxActive (void);
- OSErr InitAppleEvents (void);
- OSErr InitPPCToolbox (void);
- OSErr AcceptHLEvent (void);
- OSErr MissedAnyParameters (EventRecord *event, AppleEvent *theAEEvent);
-
-
- /* =========
- "menu.c":
- ========= */
- void SetUpMainMenus (void);
- void HandleMenu (EventRecord *event);
- void DoApple (short menuCode);
- void DoFile (short menuCode);
- void DoEdit (short menuCode);
- void DoQuit (void);
-
-
- /* ===========
- "window.c":
- =========== */
- Boolean isActive (WindowPtr window);
- void DoWindow (void);
- short GetWindowType (WindowPtr window);
- Boolean hasGrowIcon (WindowPtr window);
- void DoZoom (WindowPtr window, short zoomDir);
- WindowPtr SelectNextWindow (void);
- void DisplayWindow (WindowPtr window, Boolean activate);
- void CloseOurWindow (WindowPtr window);
- void DoCloseAll (void);
- void CenterWindow (WindowPtr window);
-
-
- /* ===========
- "Radius.c":
- =========== */
- void InitBigScreen (RadiusData *RadStatus, short *fontSize);
-
-
- /* ===============
- "off_screen.c":
- =============== */
- GDHandle GetMaxAreaDevice (Rect *globalRect);
- OffScreenRecHdl CreateOffScreen (Rect *myRect);
- void ToOnScreen (OffScreenRecHdl COSHdl);
- void DisposOffScreen (OffScreenRecHdl *COSHdl);
-
-
- /* =========
- "help.c":
- ========= */
- Boolean HelpManagerActive (void);
- Boolean BalloonsOn (void);
- Boolean BalloonShowing (void);
- void HideBalloons (Boolean balloonsUp);
- void ShowBalloons (Boolean balloonsUp);
- void ResetBalloons (Boolean balloonsUp);
- void FindAndShowDynamicBalloons (Boolean balloonsUp);
-
-
- /* =========
- "about.c":
- ========= */
- void H_Add_List_String (ListHandle theList, Str255 theString);
- void Create_Help (void);
- void H_Dialog_String (DialogPtr dlg, short theItem, Str255 theString);
- void H_Display_Pict (short thisPict);
- void H_Display_Text (void);
- void H_Error_Message (ErrorTypes theError);
- void H_Handle_List_Event (short whatHit);
- void H_Handle_Update (void);
- void Init_Help (void);
- void Kill_Help_Window (void);
- pascal void H_Scroll_Filter (ControlHandle ctl, short thePart);
- short Parse_Int (varedPtr addrMPtr);
- long Parse_OSType (varedPtr addrMPtr);
- void Parse_String (char *destStr, varedPtr addrSrcStrPtr);
- void H_Refresh_Topics (void);
- void H_Scroll_Picture (short whatHit);
- void H_Scroll_Text (short oldValue, short newValue);
- void H_Set_Button_State (int itemNum, Boolean state);
- void H_User_Message (Str255 theStr);
- pascal Boolean H_Modal_Filter (DialogPtr dlg, EventRecord *event, short *itemHit);
- pascal void H_Frame_Alert_Button (DialogPtr dlg, short theItem);
- void H_DrawGrowIcon (ListHandle theList);
- long H_GetListScrollValues (ListHandle theList);
-
-
- /* ========
- "text.c":
- ======== */
- Boolean StylizedTE (void);
- short GetLineHeight (Boolean styleTE, TEHandle teH, short theLine);
- short GetLineNbr (Boolean styleTE, TEHandle teH, short pix);
-
-
- /* =========
- "meter.c":
- ========= */
- WindowPtr MeterWindowInit (void);
- void MeterWindowDraw (WindowPtr meterWindow, Str255 mTitle);
- void MeterWindowUpdate (WindowPtr meterWindow,
- Str255 mTitle, short currStep, short maxSteps);
- void MeterUpdate (WindowPtr meterWindow, short currStep, short maxSteps);
- void MeterWindowKill (WindowPtr meterWindow);
-
-
-
-
- /* { end file = "protos" } */